#ifndef XUART_H
#define XUART_H

#define UCSRA   UCSR0A
#define UCSRB   UCSR0B
#define UCSRC   UCSR0C
#define UBRRL   UBRR0L
#define UBRRH   UBRR0H
#define UDR     UDR0

#define USART_RX_vect   USART0_RX_vect
#define USART_UDRE_vect USART0_UDRE_vect

#define UART_RX_BUF_SIZE 32
#define UART_TX_BUF_SIZE 32

void uartInit(unsigned long baudRate);
void uartStartTransmission(void);

#endif
